<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
require_once 'pojos/Cookie.php';
require_once 'pojos/CookieType.php';
require_once 'model/CookieDao.php';
require_once 'model/CookieTypeDao.php';

$cookieTypeDao = new CookieTypeDao();

$cookieTypes = $cookieTypeDao->getAllCookieType();
?>
<ul>
    <?php
        foreach ($cookieTypes as $cookieType) {
    ?>
    <li><a href="xembanh.php?cookieType=<?php echo($cookieType->getId()); ?>"><?php echo($cookieType->getTypeName()); ?></a></li>
    <?php 
        }
    ?>
</ul>